package com.qiaofang.applet.service.property.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.property.domain.Area;

import java.util.List;
import java.util.Map;

public interface AreaService extends BaseService<Area,String> {
    Area findByAreaUuidAndCompanyUuid(String areaUuid, String companyUuid);

    List<Area> findAllByDistrictUuid(String districtUuid);

    List<Area> findAllByCityCode(String cityCode);

    List<Area> findAllByCityCode(String corporationCode, String cityCode);

    Map<String, String> getAllAreaMap(String corporationCode);
}
